package com.msb.mall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.msb.common.utils.PageUtils;
import com.msb.mall.member.entity.MemberEntity;
import com.msb.mall.member.entity.vo.MemberLoginVo;
import com.msb.mall.member.entity.vo.MemberRegisterVo;
import com.msb.mall.member.entity.vo.SocialUser;

import java.util.Map;

/**
 * 会员
 *
 * @author lwq
 * @email 1907326957@qq.com
 * @date 2024-06-12 22:25:31
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(MemberRegisterVo vo);

    MemberEntity login(MemberLoginVo vo);

    MemberEntity oauth2Login(SocialUser user);
}

